import axios from '@/libs/api.request'
// 消息模板列表
export const getMessages = data => axios.request({
  url: '/marketing/message/template/query',
  method: 'post',
  data
})

// 消息模板创建编辑
export const saveMessage = data => axios.request({
  url: '/marketing/message/template/save',
  method: 'post',
  data
})

// 消息模板修改状态
export const updateMessage = data => axios.request({
  url: '/marketing/message/template/update/status',
  method: 'post',
  data
})
